package com.xiu.weixin.service.wx.message.voice;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.xiu.weixin.pojo.message.Article;
import com.xiu.weixin.pojo.message.Message;
import com.xiu.weixin.pojo.message.NewsMessage;

@Service
public class VoiceMessageService {
	public static Message doService(Map<String, String> reqMap) {
		List<Article> articles = new ArrayList<Article>();
		articles.add(new Article("标题", "图片描述",
				"http://mmbiz.qpic.cn/mmbiz_jpg/ph7ichzMSrydYAagGjWTI8dlKlTPvClYrdLibia1zl5hLL3H86PM15xxcAtqFlGyR7S0mo9CZRcQibYsB2uWZlnzlw/0",
				"http:www.baidu.com"));
		NewsMessage nm = new NewsMessage(reqMap, "1", articles);
		return nm;
	}
}
